package com.gk.study.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.study.entity.Score;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ScoreMapper extends BaseMapper<Score> {
    boolean existsByCourseAndUser(@Param("courseId") Long courseId, @Param("userId") Long userId);
}